package com.mes.system.manager;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.mes.common.manager.BasicManager;
import com.mes.system.manager.iface.IMessageManager;
import com.mes.system.dao.MessageDao;
import com.mes.system.domain.Message;

@Component
public class MessageManager extends BasicManager<Message> implements IMessageManager {
	
	@Autowired
	private MessageDao messageDao;

	@Override
	public void sendMessages(List<Message> messages) throws Exception, Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void sendMessage(Message message) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public List<Message> getAllMessages(String parentMessageUid) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Message> getUnReadMessagesByEmployeeId(String employeeId) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getUnReadMessageTopicsByEmployeeId(String employeeId) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Message> getMessagesByEmployeeId(String employeeId) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Message> getSentMessagesByEmployeeId(String employeeId) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Message> getDraftMessagesByEmployeeId(String employeeId) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Boolean setMessagesRead(List<Message> messages) throws Exception, Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Boolean saveMessagesToDraft(List<Message> messages) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void add(List<Message> messages) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete(List<Message> messages) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void update(List<Message> messages) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public List<Message> getMessagesByParentMessageUid(String parentMessageUid) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Message> getMessagesByMessageUid(String messageUid) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void sendMessagesFromDraft(List<Message> messageList) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public List<Message> getDraftById(String messageUid) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setMessageRead(Message message) throws Exception, Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Boolean setMessageReadById(String messageUid) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Message> getUnReadMessagesByEmployeeIdAndTime(String employeeId, Date afterDate) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Message> getAllMessagesByEmployeeIdAndTime(String employeeId, Date afterDate) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}
	
	
}
